package com.lagou.tomcat.container;

/**
 * @author zhangjinshan
 * @version 1.0
 * @description
 * @date 2021/7/15 上午8:21
 */
public class Wrapper {

    private String urlPattern;

    private Servlet servlet;

    public Wrapper(String urlPattern, Servlet servlet) {
        this.urlPattern = urlPattern;
        this.servlet = servlet;
    }

    public String getUrlPattern() {
        return urlPattern;
    }

    public void setUrlPattern(String urlPattern) {
        this.urlPattern = urlPattern;
    }

    public Servlet getServlet() {
        return servlet;
    }

    public void setServlet(Servlet servlet) {
        this.servlet = servlet;
    }
}
